<template>
	<view>
		<fui-fab isDrag=true :background="background" :position="isLeft?'left':'right'" :fabs="fabs"
			@click="handleClick">
			<fui-icon custom-prefix="iconfont" name="icon-jingdian_wenwuguji" color="#fff"></fui-icon>
		</fui-fab>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				isLeft: true,
				fabs: [{
					name: 'star',
					text: '收藏'
				}, {
					name: 'share',
					text: '分享'
				}, {
					name: 'fabulous',
					text: '点赞'
				}, {
					name: 'comment',
					text: '评论'
				}],
				background: '#b68f5e'
			}
		},
		methods: {

		}
	}
</script>

<style>

</style>